<!DOCTYPE html>
<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<%@ include file="/WEB-INF/views/taglibs.jsp" %>
<html>
<head> <meta http-equiv="X-UA-Compatible" content="IE=Edge">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body>
<div id="toolbar">
<form id="list" action="list" style="display: none;">
<div id="search" class="easyui-panel" title="钢材信息查询" data-options="fit:true,collapsible:true,border:0"> 
  <table class="searchTable">
	<tr>
		<td><button id="queryBtn" type="button" class="button">查询</button></td>
		<td><button id="clearBtn" type="button" class="button">清空</button></td>
	</tr>
   </table>
</div>
</form>
<div class="operate">
	<div class="om-panel-header">钢材信息列表</div>
</div>
</div>
<table id="grid" data-options="fit:true,border:false"></table>
</body>
<script type="text/javascript">
$(function() {
	$('#grid').datagrid({   
	    url:'list', 
	    pageSize :20,
		pageList : [10, 20, 30, 40, 50, 100, 200, 300, 400, 500, 1000],
		striped : true,
		//rownumbers : true,
		pagination : true,
		toolbar : '#toolbar',
	    columns : [[
	                 {width : '50', field : 'ck',checkbox:true},
	                 {title : 'ID_SQL',field : 'idSql'},
	                 {title : 'ID',field : 'id'},
	                 {title : '模型类别',field : 'model'},
	                 {title : '族名',field : 'name'},
	                 {title : '族类型',field : 'type'},
	                 {title : '代码',field : 'code'},
	                 {title : '工程部位',field : 'position'},
	                 {title : '体积(m³)',field : 'volume'},
	                 {title : '里程',field : 'mileage'},
	                 {title : '底标高(m)',field : 'elevation'},
	                 {title : '桩长(m)',field : 'pileLength'},
	                 {title : 'EBS-1',field : 'ebs1'},
	                 {title : 'EBS-2',field : 'ebs2'},
	                 {title : 'EBS-3',field : 'ebs3'},
	                 {title : 'EBS-4',field : 'ebs4'},
	                 {title : 'EBS-5',field : 'ebs5'},
	                 {title : 'EBS-6',field : 'ebs6'},
	                 {title : '钢筋总重(t)',field : 'totalWeight'},
	                 {title : 'HPB235钢筋重(t)',field : 'hpb235Weight'},
	                 {title : 'HPB300Φ8钢筋重(t)',field : 'hpb3008Weight'},
	                 {title : 'HPB300Φ10钢筋重(t)',field : 'hpb30010Weight'},
	                 {title : 'HRB335钢筋重(t)',field : 'hrb335Weight'},
	                 {title : 'HRB400Φ12钢筋重(t)',field : 'hrb40012Weight'},
	                 {title : 'HRB400Φ16钢筋重(t)',field : 'hrb40016Weight'},
	                 {title : 'HRB400Φ20钢筋重(t)',field : 'hrb40020Weight'},
	                 {title : 'HRB400Φ22钢筋重(t)',field : 'hrb40022Weight'},
	                 {title : 'HRB400Φ25钢筋重(t)',field : 'hrb40025Weight'},
	                 {title : 'HRB400Φ28钢筋重(t)',field : 'hrb40028Weight'},
	                 {title : 'HRB400Φ32钢筋重(t)',field : 'hrb40032Weight'}
	            ]]
	});
});

</script>
</html>